package com.xxxx.keyTest;

import org.apache.flink.api.java.tuple.Tuple2;

/**
 * @program: flink19Test
 * @description:
 * @author: CoreDao
 * @create: 2021-04-01 11:44
 **/

public class StudnetInfo {
    private String name;
    private String gender;
    private Integer age;
    private Tuple2<String,Tuple2<Integer,Integer>> classAndScore;

    public StudnetInfo() {
    }

    public StudnetInfo(String name, String gender, Integer age, Tuple2<String, Tuple2<Integer, Integer>> classAndScore) {
        this.name = name;
        this.gender = gender;
        this.age = age;
        this.classAndScore = classAndScore;
    }

    @Override
    public String toString() {
        return "StudnetInfo{" +
                "name='" + name + '\'' +
                ", gender='" + gender + '\'' +
                ", age=" + age +
                ", classAndScore=" + classAndScore +
                '}';
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getGender() {
        return gender;
    }

    public void setGender(String gender) {
        this.gender = gender;
    }

    public Integer getAge() {
        return age;
    }

    public void setAge(Integer age) {
        this.age = age;
    }

    public Tuple2<String, Tuple2<Integer, Integer>> getClassAndScore() {
        return classAndScore;
    }

    public void setClassAndScore(Tuple2<String, Tuple2<Integer, Integer>> classAndScore) {
        this.classAndScore = classAndScore;
    }
}
